Interface UpdateLinkRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLinkRequest.Builder,,UpdateLinkRequest> OamRequest.Builder,SdkBuilder<UpdateLinkRequest.Builder,,UpdateLinkRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateLinkRequest
-
Method Summary
Modifier and TypeMethodDescriptionidentifier(String identifier) The ARN of the link that you want to update.default UpdateLinkRequest.BuilderlinkConfiguration(Consumer<LinkConfiguration.Builder> linkConfiguration) Use this structure to filter which metric namespaces and which log groups are to be shared from the source account to the monitoring account.linkConfiguration(LinkConfiguration linkConfiguration) Use this structure to filter which metric namespaces and which log groups are to be shared from the source account to the monitoring account.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceTypes(Collection<ResourceType> resourceTypes) An array of strings that define which types of data that the source account will send to the monitoring account.resourceTypes(ResourceType... resourceTypes) An array of strings that define which types of data that the source account will send to the monitoring account.resourceTypesWithStrings(String... resourceTypes) An array of strings that define which types of data that the source account will send to the monitoring account.resourceTypesWithStrings(Collection<String> resourceTypes) An array of strings that define which types of data that the source account will send to the monitoring account.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.oam.model.OamRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
identifier
The ARN of the link that you want to update.
- Parameters:
identifier- The ARN of the link that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkConfiguration
Use this structure to filter which metric namespaces and which log groups are to be shared from the source account to the monitoring account.
- Parameters:
linkConfiguration- Use this structure to filter which metric namespaces and which log groups are to be shared from the source account to the monitoring account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkConfiguration
default UpdateLinkRequest.Builder linkConfiguration(Consumer<LinkConfiguration.Builder> linkConfiguration) Use this structure to filter which metric namespaces and which log groups are to be shared from the source account to the monitoring account.
This is a convenience method that creates an instance of theLinkConfiguration.Builderavoiding the need to create one manually viaLinkConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolinkConfiguration(LinkConfiguration).- Parameters:
linkConfiguration- a consumer that will call methods onLinkConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceTypesWithStrings
An array of strings that define which types of data that the source account will send to the monitoring account.
Your input here replaces the current set of data types that are shared.
- Parameters:
resourceTypes- An array of strings that define which types of data that the source account will send to the monitoring account.Your input here replaces the current set of data types that are shared.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypesWithStrings
An array of strings that define which types of data that the source account will send to the monitoring account.
Your input here replaces the current set of data types that are shared.
- Parameters:
resourceTypes- An array of strings that define which types of data that the source account will send to the monitoring account.Your input here replaces the current set of data types that are shared.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
An array of strings that define which types of data that the source account will send to the monitoring account.
Your input here replaces the current set of data types that are shared.
- Parameters:
resourceTypes- An array of strings that define which types of data that the source account will send to the monitoring account.Your input here replaces the current set of data types that are shared.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
An array of strings that define which types of data that the source account will send to the monitoring account.
Your input here replaces the current set of data types that are shared.
- Parameters:
resourceTypes- An array of strings that define which types of data that the source account will send to the monitoring account.Your input here replaces the current set of data types that are shared.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateLinkRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateLinkRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-