Interface CreateLinkRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLinkRequest.Builder,CreateLinkRequest>,OamRequest.Builder,SdkBuilder<CreateLinkRequest.Builder,CreateLinkRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateLinkRequest
public static interface CreateLinkRequest.Builder extends OamRequest.Builder, SdkPojo, CopyableBuilder<CreateLinkRequest.Builder,CreateLinkRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateLinkRequest.BuilderlabelTemplate(String labelTemplate)Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.CreateLinkRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateLinkRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateLinkRequest.BuilderresourceTypes(Collection<ResourceType> resourceTypes)An array of strings that define which types of data that the source account shares with the monitoring account.CreateLinkRequest.BuilderresourceTypes(ResourceType... resourceTypes)An array of strings that define which types of data that the source account shares with the monitoring account.CreateLinkRequest.BuilderresourceTypesWithStrings(String... resourceTypes)An array of strings that define which types of data that the source account shares with the monitoring account.CreateLinkRequest.BuilderresourceTypesWithStrings(Collection<String> resourceTypes)An array of strings that define which types of data that the source account shares with the monitoring account.CreateLinkRequest.BuildersinkIdentifier(String sinkIdentifier)The ARN of the sink to use to create this link.CreateLinkRequest.Buildertags(Map<String,String> tags)Assigns one or more tags (key-value pairs) to the link.-
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 Detail
-
labelTemplate
CreateLinkRequest.Builder labelTemplate(String labelTemplate)
Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.
You can use a custom label or use the following variables:
-
$AccountNameis the name of the account -
$AccountEmailis the globally unique email address of the account -
$AccountEmailNoDomainis the email address of the account without the domain name
- Parameters:
labelTemplate- Specify a friendly human-readable name to use to identify this source account when you are viewing data from it in the monitoring account.You can use a custom label or use the following variables:
-
$AccountNameis the name of the account -
$AccountEmailis the globally unique email address of the account -
$AccountEmailNoDomainis the email address of the account without the domain name
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
resourceTypesWithStrings
CreateLinkRequest.Builder resourceTypesWithStrings(Collection<String> resourceTypes)
An array of strings that define which types of data that the source account shares with the monitoring account.
- Parameters:
resourceTypes- An array of strings that define which types of data that the source account shares with the monitoring account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypesWithStrings
CreateLinkRequest.Builder resourceTypesWithStrings(String... resourceTypes)
An array of strings that define which types of data that the source account shares with the monitoring account.
- Parameters:
resourceTypes- An array of strings that define which types of data that the source account shares with the monitoring account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
CreateLinkRequest.Builder resourceTypes(Collection<ResourceType> resourceTypes)
An array of strings that define which types of data that the source account shares with the monitoring account.
- Parameters:
resourceTypes- An array of strings that define which types of data that the source account shares with the monitoring account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
CreateLinkRequest.Builder resourceTypes(ResourceType... resourceTypes)
An array of strings that define which types of data that the source account shares with the monitoring account.
- Parameters:
resourceTypes- An array of strings that define which types of data that the source account shares with the monitoring account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sinkIdentifier
CreateLinkRequest.Builder sinkIdentifier(String sinkIdentifier)
The ARN of the sink to use to create this link. You can use ListSinks to find the ARNs of sinks.
For more information about sinks, see CreateSink.
- Parameters:
sinkIdentifier- The ARN of the sink to use to create this link. You can use ListSinks to find the ARNs of sinks.For more information about sinks, see CreateSink.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateLinkRequest.Builder tags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the link.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.
- Parameters:
tags- Assigns one or more tags (key-value pairs) to the link.Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateLinkRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLinkRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-