Interface Site.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Site.Builder,,Site> SdkBuilder<Site.Builder,,Site> SdkPojo
- Enclosing class:
Site
@Mutable
@NotThreadSafe
public static interface Site.Builder
extends SdkPojo, CopyableBuilder<Site.Builder,Site>
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time that the site was created.description(String description) The description of the site.globalNetworkId(String globalNetworkId) The ID of the global network.default Site.Builderlocation(Consumer<Location.Builder> location) The location of the site.The location of the site.The Amazon Resource Name (ARN) of the site.The ID of the site.The state of the site.The state of the site.tags(Collection<Tag> tags) The tags for the site.tags(Consumer<Tag.Builder>... tags) The tags for the site.The tags for the site.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
siteId
The ID of the site.
- Parameters:
siteId- The ID of the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
siteArn
The Amazon Resource Name (ARN) of the site.
- Parameters:
siteArn- The Amazon Resource Name (ARN) of the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
globalNetworkId
The ID of the global network.
- Parameters:
globalNetworkId- The ID of the global network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the site.
- Parameters:
description- The description of the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The location of the site.
- Parameters:
location- The location of the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
The location of the site.
This is a convenience method that creates an instance of theLocation.Builderavoiding the need to create one manually viaLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolocation(Location).- Parameters:
location- a consumer that will call methods onLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The date and time that the site was created.
- Parameters:
createdAt- The date and time that the site was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the site.
- Parameters:
state- The state of the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the site.
- Parameters:
state- The state of the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags for the site.
- Parameters:
tags- The tags for the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the site.
- Parameters:
tags- The tags for the site.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the site.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-