Interface CreateLinkRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLinkRequest.Builder,
,CreateLinkRequest> OamRequest.Builder
,SdkBuilder<CreateLinkRequest.Builder,
,CreateLinkRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLinkRequest
-
Method Summary
Modifier and TypeMethodDescriptionlabelTemplate
(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.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 shares with the monitoring account.resourceTypes
(ResourceType... resourceTypes) An array of strings that define which types of data that the source account shares with the monitoring account.resourceTypesWithStrings
(String... resourceTypes) An array of strings that define which types of data that the source account shares with the monitoring account.resourceTypesWithStrings
(Collection<String> resourceTypes) An array of strings that define which types of data that the source account shares with the monitoring account.sinkIdentifier
(String sinkIdentifier) The ARN of the sink to use to create this link.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 Details
-
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:
-
$AccountName
is the name of the account -
$AccountEmail
is the globally unique email address of the account -
$AccountEmailNoDomain
is 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:
-
$AccountName
is the name of the account -
$AccountEmail
is the globally unique email address of the account -
$AccountEmailNoDomain
is 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
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
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
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
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
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
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) 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
CreateLinkRequest.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.
-