public static class ResponderRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResponderRule |
build() |
ResponderRule.Builder |
copy(ResponderRule model) |
ResponderRule.Builder |
description(String description)
Responder rule description
|
ResponderRule.Builder |
details(ResponderRuleDetails details) |
ResponderRule.Builder |
displayName(String displayName)
Responder rule display name
|
ResponderRule.Builder |
id(String id)
Unique identifier for the responder rule
|
ResponderRule.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
ResponderRule.Builder |
lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the responder rule.
|
ResponderRule.Builder |
locks(List<ResourceLock> locks)
Locks associated with this resource.
|
ResponderRule.Builder |
policies(List<String> policies)
List of policies
|
ResponderRule.Builder |
supportedModes(List<ResponderRule.SupportedModes> supportedModes)
Supported execution modes for the responder rule
|
ResponderRule.Builder |
timeCreated(Date timeCreated)
The date and time the responder rule was created.
|
ResponderRule.Builder |
timeUpdated(Date timeUpdated)
The date and time the responder rule was last updated.
|
ResponderRule.Builder |
type(ResponderType type)
Type of responder
|
public ResponderRule.Builder id(String id)
Unique identifier for the responder rule
id
- the value to setpublic ResponderRule.Builder displayName(String displayName)
Responder rule display name
displayName
- the value to setpublic ResponderRule.Builder description(String description)
Responder rule description
description
- the value to setpublic ResponderRule.Builder type(ResponderType type)
Type of responder
type
- the value to setpublic ResponderRule.Builder policies(List<String> policies)
List of policies
policies
- the value to setpublic ResponderRule.Builder supportedModes(List<ResponderRule.SupportedModes> supportedModes)
Supported execution modes for the responder rule
supportedModes
- the value to setpublic ResponderRule.Builder details(ResponderRuleDetails details)
public ResponderRule.Builder timeCreated(Date timeCreated)
The date and time the responder rule was created. Format defined by RFC3339.
timeCreated
- the value to setpublic ResponderRule.Builder timeUpdated(Date timeUpdated)
The date and time the responder rule was last updated. Format defined by RFC3339.
timeUpdated
- the value to setpublic ResponderRule.Builder lifecycleState(LifecycleState lifecycleState)
The current lifecycle state of the responder rule.
lifecycleState
- the value to setpublic ResponderRule.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic ResponderRule.Builder locks(List<ResourceLock> locks)
Locks associated with this resource.
locks
- the value to setpublic ResponderRule build()
public ResponderRule.Builder copy(ResponderRule model)
Copyright © 2016–2024. All rights reserved.