Interface NetworkResource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NetworkResource.Builder,NetworkResource>,SdkBuilder<NetworkResource.Builder,NetworkResource>,SdkPojo
- Enclosing class:
- NetworkResource
public static interface NetworkResource.Builder extends SdkPojo, CopyableBuilder<NetworkResource.Builder,NetworkResource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NetworkResource.Builderattributes(Collection<NameValuePair> attributes)The attributes of the network resource.NetworkResource.Builderattributes(Consumer<NameValuePair.Builder>... attributes)The attributes of the network resource.NetworkResource.Builderattributes(NameValuePair... attributes)The attributes of the network resource.default NetworkResource.BuildercommitmentInformation(Consumer<CommitmentInformation.Builder> commitmentInformation)Information about the commitment period for the radio unit.NetworkResource.BuildercommitmentInformation(CommitmentInformation commitmentInformation)Information about the commitment period for the radio unit.NetworkResource.BuildercreatedAt(Instant createdAt)The creation time of the network resource.NetworkResource.Builderdescription(String description)The description of the network resource.NetworkResource.Builderhealth(String health)The health of the network resource.NetworkResource.Builderhealth(HealthStatus health)The health of the network resource.NetworkResource.Buildermodel(String model)The model of the network resource.NetworkResource.BuildernetworkArn(String networkArn)The Amazon Resource Name (ARN) of the network on which this network resource appears.NetworkResource.BuildernetworkResourceArn(String networkResourceArn)The Amazon Resource Name (ARN) of the network resource.NetworkResource.BuildernetworkSiteArn(String networkSiteArn)The Amazon Resource Name (ARN) of the network site on which this network resource appears.NetworkResource.BuilderorderArn(String orderArn)The Amazon Resource Name (ARN) of the order used to purchase this network resource.default NetworkResource.Builderposition(Consumer<Position.Builder> position)The position of the network resource.NetworkResource.Builderposition(Position position)The position of the network resource.default NetworkResource.BuilderreturnInformation(Consumer<ReturnInformation.Builder> returnInformation)Information about a request to return the network resource.NetworkResource.BuilderreturnInformation(ReturnInformation returnInformation)Information about a request to return the network resource.NetworkResource.BuilderserialNumber(String serialNumber)The serial number of the network resource.NetworkResource.Builderstatus(String status)The status of the network resource.NetworkResource.Builderstatus(NetworkResourceStatus status)The status of the network resource.NetworkResource.BuilderstatusReason(String statusReason)The status reason of the network resource.NetworkResource.Buildertype(String type)The type of the network resource.NetworkResource.Buildertype(NetworkResourceType type)The type of the network resource.NetworkResource.Buildervendor(String vendor)The vendor of the network resource.-
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
-
attributes
NetworkResource.Builder attributes(Collection<NameValuePair> attributes)
The attributes of the network resource.
- Parameters:
attributes- The attributes of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
NetworkResource.Builder attributes(NameValuePair... attributes)
The attributes of the network resource.
- Parameters:
attributes- The attributes of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
NetworkResource.Builder attributes(Consumer<NameValuePair.Builder>... attributes)
The attributes of the network resource.
This is a convenience method that creates an instance of theNameValuePair.Builderavoiding the need to create one manually viaNameValuePair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attributes(List.) - Parameters:
attributes- a consumer that will call methods onNameValuePair.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attributes(java.util.Collection)
-
commitmentInformation
NetworkResource.Builder commitmentInformation(CommitmentInformation commitmentInformation)
Information about the commitment period for the radio unit. Shows the duration, the date and time that the contract started and ends, and the renewal status of the commitment period.
- Parameters:
commitmentInformation- Information about the commitment period for the radio unit. Shows the duration, the date and time that the contract started and ends, and the renewal status of the commitment period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
commitmentInformation
default NetworkResource.Builder commitmentInformation(Consumer<CommitmentInformation.Builder> commitmentInformation)
Information about the commitment period for the radio unit. Shows the duration, the date and time that the contract started and ends, and the renewal status of the commitment period.
This is a convenience method that creates an instance of theCommitmentInformation.Builderavoiding the need to create one manually viaCommitmentInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocommitmentInformation(CommitmentInformation).- Parameters:
commitmentInformation- a consumer that will call methods onCommitmentInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
commitmentInformation(CommitmentInformation)
-
createdAt
NetworkResource.Builder createdAt(Instant createdAt)
The creation time of the network resource.
- Parameters:
createdAt- The creation time of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
NetworkResource.Builder description(String description)
The description of the network resource.
- Parameters:
description- The description of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
health
NetworkResource.Builder health(String health)
The health of the network resource.
- Parameters:
health- The health of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HealthStatus,HealthStatus
-
health
NetworkResource.Builder health(HealthStatus health)
The health of the network resource.
- Parameters:
health- The health of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HealthStatus,HealthStatus
-
model
NetworkResource.Builder model(String model)
The model of the network resource.
- Parameters:
model- The model of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkArn
NetworkResource.Builder networkArn(String networkArn)
The Amazon Resource Name (ARN) of the network on which this network resource appears.
- Parameters:
networkArn- The Amazon Resource Name (ARN) of the network on which this network resource appears.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkResourceArn
NetworkResource.Builder networkResourceArn(String networkResourceArn)
The Amazon Resource Name (ARN) of the network resource.
- Parameters:
networkResourceArn- The Amazon Resource Name (ARN) of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkSiteArn
NetworkResource.Builder networkSiteArn(String networkSiteArn)
The Amazon Resource Name (ARN) of the network site on which this network resource appears.
- Parameters:
networkSiteArn- The Amazon Resource Name (ARN) of the network site on which this network resource appears.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderArn
NetworkResource.Builder orderArn(String orderArn)
The Amazon Resource Name (ARN) of the order used to purchase this network resource.
- Parameters:
orderArn- The Amazon Resource Name (ARN) of the order used to purchase this network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
NetworkResource.Builder position(Position position)
The position of the network resource.
- Parameters:
position- The position of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
default NetworkResource.Builder position(Consumer<Position.Builder> position)
The position of the network resource.
This is a convenience method that creates an instance of thePosition.Builderavoiding the need to create one manually viaPosition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toposition(Position).- Parameters:
position- a consumer that will call methods onPosition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
position(Position)
-
returnInformation
NetworkResource.Builder returnInformation(ReturnInformation returnInformation)
Information about a request to return the network resource.
- Parameters:
returnInformation- Information about a request to return the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
returnInformation
default NetworkResource.Builder returnInformation(Consumer<ReturnInformation.Builder> returnInformation)
Information about a request to return the network resource.
This is a convenience method that creates an instance of theReturnInformation.Builderavoiding the need to create one manually viaReturnInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreturnInformation(ReturnInformation).- Parameters:
returnInformation- a consumer that will call methods onReturnInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
returnInformation(ReturnInformation)
-
serialNumber
NetworkResource.Builder serialNumber(String serialNumber)
The serial number of the network resource.
- Parameters:
serialNumber- The serial number of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
NetworkResource.Builder status(String status)
The status of the network resource.
- Parameters:
status- The status of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NetworkResourceStatus,NetworkResourceStatus
-
status
NetworkResource.Builder status(NetworkResourceStatus status)
The status of the network resource.
- Parameters:
status- The status of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NetworkResourceStatus,NetworkResourceStatus
-
statusReason
NetworkResource.Builder statusReason(String statusReason)
The status reason of the network resource.
- Parameters:
statusReason- The status reason of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
NetworkResource.Builder type(String type)
The type of the network resource.
- Parameters:
type- The type of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NetworkResourceType,NetworkResourceType
-
type
NetworkResource.Builder type(NetworkResourceType type)
The type of the network resource.
- Parameters:
type- The type of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NetworkResourceType,NetworkResourceType
-
vendor
NetworkResource.Builder vendor(String vendor)
The vendor of the network resource.
- Parameters:
vendor- The vendor of the network resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-