Interface CreateLinkResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateLinkResponse.Builder,CreateLinkResponse>,OamResponse.Builder,SdkBuilder<CreateLinkResponse.Builder,CreateLinkResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateLinkResponse
public static interface CreateLinkResponse.Builder extends OamResponse.Builder, SdkPojo, CopyableBuilder<CreateLinkResponse.Builder,CreateLinkResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateLinkResponse.Builderarn(String arn)The ARN of the link that is newly created.CreateLinkResponse.Builderid(String id)The random ID string that Amazon Web Services generated as part of the link ARN.CreateLinkResponse.Builderlabel(String label)The label that you assigned to this link.CreateLinkResponse.BuilderlabelTemplate(String labelTemplate)The exact label template that you specified, with the variables not resolved.default CreateLinkResponse.BuilderlinkConfiguration(Consumer<LinkConfiguration.Builder> linkConfiguration)This structure includes filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account.CreateLinkResponse.BuilderlinkConfiguration(LinkConfiguration linkConfiguration)This structure includes filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account.CreateLinkResponse.BuilderresourceTypes(String... resourceTypes)The resource types supported by this link.CreateLinkResponse.BuilderresourceTypes(Collection<String> resourceTypes)The resource types supported by this link.CreateLinkResponse.BuildersinkArn(String sinkArn)The ARN of the sink that is used for this link.CreateLinkResponse.Buildertags(Map<String,String> tags)The tags assigned to the link.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.oam.model.OamResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
CreateLinkResponse.Builder arn(String arn)
The ARN of the link that is newly created.
- Parameters:
arn- The ARN of the link that is newly created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
CreateLinkResponse.Builder id(String id)
The random ID string that Amazon Web Services generated as part of the link ARN.
- Parameters:
id- The random ID string that Amazon Web Services generated as part of the link ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
CreateLinkResponse.Builder label(String label)
The label that you assigned to this link. If the
labelTemplateincludes variables, this field displays the variables resolved to their actual values.- Parameters:
label- The label that you assigned to this link. If thelabelTemplateincludes variables, this field displays the variables resolved to their actual values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
labelTemplate
CreateLinkResponse.Builder labelTemplate(String labelTemplate)
The exact label template that you specified, with the variables not resolved.
- Parameters:
labelTemplate- The exact label template that you specified, with the variables not resolved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
linkConfiguration
CreateLinkResponse.Builder linkConfiguration(LinkConfiguration linkConfiguration)
This structure includes filters that specify which metric namespaces and which log groups are shared from the source account to the monitoring account.
- Parameters:
linkConfiguration- This structure includes filters that specify which metric namespaces and which log groups are 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 CreateLinkResponse.Builder linkConfiguration(Consumer<LinkConfiguration.Builder> linkConfiguration)
This structure includes filters that specify which metric namespaces and which log groups are 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)
-
resourceTypes
CreateLinkResponse.Builder resourceTypes(Collection<String> resourceTypes)
The resource types supported by this link.
- Parameters:
resourceTypes- The resource types supported by this link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceTypes
CreateLinkResponse.Builder resourceTypes(String... resourceTypes)
The resource types supported by this link.
- Parameters:
resourceTypes- The resource types supported by this link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sinkArn
CreateLinkResponse.Builder sinkArn(String sinkArn)
The ARN of the sink that is used for this link.
- Parameters:
sinkArn- The ARN of the sink that is used for this link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateLinkResponse.Builder tags(Map<String,String> tags)
The tags assigned to the link.
- Parameters:
tags- The tags assigned to the link.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-