Interface UpdateLinkRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLinkRequest.Builder,UpdateLinkRequest>,OamRequest.Builder,SdkBuilder<UpdateLinkRequest.Builder,UpdateLinkRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateLinkRequest
public static interface UpdateLinkRequest.Builder extends OamRequest.Builder, SdkPojo, CopyableBuilder<UpdateLinkRequest.Builder,UpdateLinkRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateLinkRequest.Builderidentifier(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.UpdateLinkRequest.BuilderlinkConfiguration(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.UpdateLinkRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateLinkRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateLinkRequest.BuilderresourceTypes(Collection<ResourceType> resourceTypes)An array of strings that define which types of data that the source account will send to the monitoring account.UpdateLinkRequest.BuilderresourceTypes(ResourceType... resourceTypes)An array of strings that define which types of data that the source account will send to the monitoring account.UpdateLinkRequest.BuilderresourceTypesWithStrings(String... resourceTypes)An array of strings that define which types of data that the source account will send to the monitoring account.UpdateLinkRequest.BuilderresourceTypesWithStrings(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
identifier
UpdateLinkRequest.Builder identifier(String 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
UpdateLinkRequest.Builder 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.
- 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:
linkConfiguration(LinkConfiguration)
-
resourceTypesWithStrings
UpdateLinkRequest.Builder resourceTypesWithStrings(Collection<String> 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.
-
resourceTypesWithStrings
UpdateLinkRequest.Builder resourceTypesWithStrings(String... 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
UpdateLinkRequest.Builder resourceTypes(Collection<ResourceType> 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
UpdateLinkRequest.Builder resourceTypes(ResourceType... 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateLinkRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-