Interface Site.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Site.Builder,Site>,SdkBuilder<Site.Builder,Site>,SdkPojo
- Enclosing class:
- Site
public static interface Site.Builder extends SdkPojo, CopyableBuilder<Site.Builder,Site>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Site.BuildercreatedAt(Instant createdAt)The date and time that the site was created.Site.Builderdescription(String description)The description of the site.Site.BuilderglobalNetworkId(String globalNetworkId)The ID of the global network.default Site.Builderlocation(Consumer<Location.Builder> location)The location of the site.Site.Builderlocation(Location location)The location of the site.Site.BuildersiteArn(String siteArn)The Amazon Resource Name (ARN) of the site.Site.BuildersiteId(String siteId)The ID of the site.Site.Builderstate(String state)The state of the site.Site.Builderstate(SiteState state)The state of the site.Site.Buildertags(Collection<Tag> tags)The tags for the site.Site.Buildertags(Consumer<Tag.Builder>... tags)The tags for the site.Site.Buildertags(Tag... tags)The tags for the site.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
siteId
Site.Builder siteId(String 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
Site.Builder siteArn(String 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
Site.Builder globalNetworkId(String 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
Site.Builder description(String 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
Site.Builder location(Location 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
default Site.Builder location(Consumer<Location.Builder> 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:
location(Location)
-
createdAt
Site.Builder createdAt(Instant 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
Site.Builder state(String state)
The state of the site.
-
state
Site.Builder state(SiteState state)
The state of the site.
-
tags
Site.Builder tags(Collection<Tag> 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
Site.Builder tags(Tag... 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
Site.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
-