Interface StartChangeRequestExecutionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartChangeRequestExecutionRequest.Builder,StartChangeRequestExecutionRequest>,SdkBuilder<StartChangeRequestExecutionRequest.Builder,StartChangeRequestExecutionRequest>,SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
- StartChangeRequestExecutionRequest
@Mutable @NotThreadSafe public static interface StartChangeRequestExecutionRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<StartChangeRequestExecutionRequest.Builder,StartChangeRequestExecutionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StartChangeRequestExecutionRequest.BuilderautoApprove(Boolean autoApprove)Indicates whether the change request can be approved automatically without the need for manual approvals.StartChangeRequestExecutionRequest.BuilderchangeDetails(String changeDetails)User-provided details about the change.StartChangeRequestExecutionRequest.BuilderchangeRequestName(String changeRequestName)The name of the change request associated with the runbook workflow to be run.StartChangeRequestExecutionRequest.BuilderclientToken(String clientToken)The user-provided idempotency token.StartChangeRequestExecutionRequest.BuilderdocumentName(String documentName)The name of the change template document to run during the runbook workflow.StartChangeRequestExecutionRequest.BuilderdocumentVersion(String documentVersion)The version of the change template document to run during the runbook workflow.StartChangeRequestExecutionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartChangeRequestExecutionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartChangeRequestExecutionRequest.Builderparameters(Map<String,? extends Collection<String>> parameters)A key-value map of parameters that match the declared parameters in the change template document.StartChangeRequestExecutionRequest.Builderrunbooks(Collection<Runbook> runbooks)Information about the Automation runbooks that are run during the runbook workflow.StartChangeRequestExecutionRequest.Builderrunbooks(Consumer<Runbook.Builder>... runbooks)Information about the Automation runbooks that are run during the runbook workflow.StartChangeRequestExecutionRequest.Builderrunbooks(Runbook... runbooks)Information about the Automation runbooks that are run during the runbook workflow.StartChangeRequestExecutionRequest.BuilderscheduledEndTime(Instant scheduledEndTime)The time that the requester expects the runbook workflow related to the change request to complete.StartChangeRequestExecutionRequest.BuilderscheduledTime(Instant scheduledTime)The date and time specified in the change request to run the Automation runbooks.StartChangeRequestExecutionRequest.Buildertags(Collection<Tag> tags)Optional metadata that you assign to a resource.StartChangeRequestExecutionRequest.Buildertags(Consumer<Tag.Builder>... tags)Optional metadata that you assign to a resource.StartChangeRequestExecutionRequest.Buildertags(Tag... tags)Optional metadata that you assign to a resource.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
-
-
-
Method Detail
-
scheduledTime
StartChangeRequestExecutionRequest.Builder scheduledTime(Instant scheduledTime)
The date and time specified in the change request to run the Automation runbooks.
The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
- Parameters:
scheduledTime- The date and time specified in the change request to run the Automation runbooks.The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentName
StartChangeRequestExecutionRequest.Builder documentName(String documentName)
The name of the change template document to run during the runbook workflow.
- Parameters:
documentName- The name of the change template document to run during the runbook workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentVersion
StartChangeRequestExecutionRequest.Builder documentVersion(String documentVersion)
The version of the change template document to run during the runbook workflow.
- Parameters:
documentVersion- The version of the change template document to run during the runbook workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
StartChangeRequestExecutionRequest.Builder parameters(Map<String,? extends Collection<String>> parameters)
A key-value map of parameters that match the declared parameters in the change template document.
- Parameters:
parameters- A key-value map of parameters that match the declared parameters in the change template document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeRequestName
StartChangeRequestExecutionRequest.Builder changeRequestName(String changeRequestName)
The name of the change request associated with the runbook workflow to be run.
- Parameters:
changeRequestName- The name of the change request associated with the runbook workflow to be run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
StartChangeRequestExecutionRequest.Builder clientToken(String clientToken)
The user-provided idempotency token. The token must be unique, is case insensitive, enforces the UUID format, and can't be reused.
- Parameters:
clientToken- The user-provided idempotency token. The token must be unique, is case insensitive, enforces the UUID format, and can't be reused.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoApprove
StartChangeRequestExecutionRequest.Builder autoApprove(Boolean autoApprove)
Indicates whether the change request can be approved automatically without the need for manual approvals.
If
AutoApprovableis enabled in a change template, then settingAutoApprovetotrueinStartChangeRequestExecutioncreates a change request that bypasses approver review.Change Calendar restrictions are not bypassed in this scenario. If the state of an associated calendar is
CLOSED, change freeze approvers must still grant permission for this change request to run. If they don't, the change won't be processed until the calendar state is againOPEN.- Parameters:
autoApprove- Indicates whether the change request can be approved automatically without the need for manual approvals.If
AutoApprovableis enabled in a change template, then settingAutoApprovetotrueinStartChangeRequestExecutioncreates a change request that bypasses approver review.Change Calendar restrictions are not bypassed in this scenario. If the state of an associated calendar is
CLOSED, change freeze approvers must still grant permission for this change request to run. If they don't, the change won't be processed until the calendar state is againOPEN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runbooks
StartChangeRequestExecutionRequest.Builder runbooks(Collection<Runbook> runbooks)
Information about the Automation runbooks that are run during the runbook workflow.
The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
- Parameters:
runbooks- Information about the Automation runbooks that are run during the runbook workflow.The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runbooks
StartChangeRequestExecutionRequest.Builder runbooks(Runbook... runbooks)
Information about the Automation runbooks that are run during the runbook workflow.
The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
- Parameters:
runbooks- Information about the Automation runbooks that are run during the runbook workflow.The Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runbooks
StartChangeRequestExecutionRequest.Builder runbooks(Consumer<Runbook.Builder>... runbooks)
Information about the Automation runbooks that are run during the runbook workflow.
This is a convenience method that creates an instance of theThe Automation runbooks specified for the runbook workflow can't run until all required approvals for the change request have been received.
Runbook.Builderavoiding the need to create one manually viaRunbook.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#runbooks(List.) - Parameters:
runbooks- a consumer that will call methods onRunbook.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#runbooks(java.util.Collection)
-
tags
StartChangeRequestExecutionRequest.Builder tags(Collection<Tag> tags)
Optional metadata that you assign to a resource. You can specify a maximum of five tags for a change request. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a change request to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:
-
Key=Environment,Value=Production -
Key=Region,Value=us-east-2
The
Array Membersmaximum value is reported as 1000. This number includes capacity reserved for internal operations. When calling theStartChangeRequestExecutionaction, you can specify a maximum of 5 tags. You can, however, use the AddTagsToResource action to add up to a total of 50 tags to an existing change request configuration.- Parameters:
tags- Optional metadata that you assign to a resource. You can specify a maximum of five tags for a change request. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a change request to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:-
Key=Environment,Value=Production -
Key=Region,Value=us-east-2
The
Array Membersmaximum value is reported as 1000. This number includes capacity reserved for internal operations. When calling theStartChangeRequestExecutionaction, you can specify a maximum of 5 tags. You can, however, use the AddTagsToResource action to add up to a total of 50 tags to an existing change request configuration.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
StartChangeRequestExecutionRequest.Builder tags(Tag... tags)
Optional metadata that you assign to a resource. You can specify a maximum of five tags for a change request. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a change request to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:
-
Key=Environment,Value=Production -
Key=Region,Value=us-east-2
The
Array Membersmaximum value is reported as 1000. This number includes capacity reserved for internal operations. When calling theStartChangeRequestExecutionaction, you can specify a maximum of 5 tags. You can, however, use the AddTagsToResource action to add up to a total of 50 tags to an existing change request configuration.- Parameters:
tags- Optional metadata that you assign to a resource. You can specify a maximum of five tags for a change request. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a change request to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:-
Key=Environment,Value=Production -
Key=Region,Value=us-east-2
The
Array Membersmaximum value is reported as 1000. This number includes capacity reserved for internal operations. When calling theStartChangeRequestExecutionaction, you can specify a maximum of 5 tags. You can, however, use the AddTagsToResource action to add up to a total of 50 tags to an existing change request configuration.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
tags
StartChangeRequestExecutionRequest.Builder tags(Consumer<Tag.Builder>... tags)
Optional metadata that you assign to a resource. You can specify a maximum of five tags for a change request. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a change request to identify an environment or target Amazon Web Services Region. In this case, you could specify the following key-value pairs:
-
Key=Environment,Value=Production -
Key=Region,Value=us-east-2
This is a convenience method that creates an instance of theThe
Array Membersmaximum value is reported as 1000. This number includes capacity reserved for internal operations. When calling theStartChangeRequestExecutionaction, you can specify a maximum of 5 tags. You can, however, use the AddTagsToResource action to add up to a total of 50 tags to an existing change request configuration.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-
scheduledEndTime
StartChangeRequestExecutionRequest.Builder scheduledEndTime(Instant scheduledEndTime)
The time that the requester expects the runbook workflow related to the change request to complete. The time is an estimate only that the requester provides for reviewers.
- Parameters:
scheduledEndTime- The time that the requester expects the runbook workflow related to the change request to complete. The time is an estimate only that the requester provides for reviewers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeDetails
StartChangeRequestExecutionRequest.Builder changeDetails(String changeDetails)
User-provided details about the change. If no details are provided, content specified in the Template information section of the associated change template is added.
- Parameters:
changeDetails- User-provided details about the change. If no details are provided, content specified in the Template information section of the associated change template is added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartChangeRequestExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartChangeRequestExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-