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.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.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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.oam.model.OamRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaLinkConfiguration.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-