Interface DisconnectSourceServerResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisconnectSourceServerResponse.Builder,DisconnectSourceServerResponse>,DrsResponse.Builder,SdkBuilder<DisconnectSourceServerResponse.Builder,DisconnectSourceServerResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DisconnectSourceServerResponse
public static interface DisconnectSourceServerResponse.Builder extends DrsResponse.Builder, SdkPojo, CopyableBuilder<DisconnectSourceServerResponse.Builder,DisconnectSourceServerResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DisconnectSourceServerResponse.BuilderagentVersion(String agentVersion)The version of the DRS agent installed on the source serverDisconnectSourceServerResponse.Builderarn(String arn)The ARN of the Source Server.default DisconnectSourceServerResponse.BuilderdataReplicationInfo(Consumer<DataReplicationInfo.Builder> dataReplicationInfo)The Data Replication Info of the Source Server.DisconnectSourceServerResponse.BuilderdataReplicationInfo(DataReplicationInfo dataReplicationInfo)The Data Replication Info of the Source Server.DisconnectSourceServerResponse.BuilderlastLaunchResult(String lastLaunchResult)The status of the last recovery launch of this Source Server.DisconnectSourceServerResponse.BuilderlastLaunchResult(LastLaunchResult lastLaunchResult)The status of the last recovery launch of this Source Server.default DisconnectSourceServerResponse.BuilderlifeCycle(Consumer<LifeCycle.Builder> lifeCycle)The lifecycle information of this Source Server.DisconnectSourceServerResponse.BuilderlifeCycle(LifeCycle lifeCycle)The lifecycle information of this Source Server.DisconnectSourceServerResponse.BuilderrecoveryInstanceId(String recoveryInstanceId)The ID of the Recovery Instance associated with this Source Server.DisconnectSourceServerResponse.BuilderreplicationDirection(String replicationDirection)Replication direction of the Source Server.DisconnectSourceServerResponse.BuilderreplicationDirection(ReplicationDirection replicationDirection)Replication direction of the Source Server.DisconnectSourceServerResponse.BuilderreversedDirectionSourceServerArn(String reversedDirectionSourceServerArn)For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.default DisconnectSourceServerResponse.BuildersourceCloudProperties(Consumer<SourceCloudProperties.Builder> sourceCloudProperties)Source cloud properties of the Source Server.DisconnectSourceServerResponse.BuildersourceCloudProperties(SourceCloudProperties sourceCloudProperties)Source cloud properties of the Source Server.DisconnectSourceServerResponse.BuildersourceNetworkID(String sourceNetworkID)ID of the Source Network which is protecting this Source Server's network.default DisconnectSourceServerResponse.BuildersourceProperties(Consumer<SourceProperties.Builder> sourceProperties)The source properties of the Source Server.DisconnectSourceServerResponse.BuildersourceProperties(SourceProperties sourceProperties)The source properties of the Source Server.DisconnectSourceServerResponse.BuildersourceServerID(String sourceServerID)The ID of the Source Server.default DisconnectSourceServerResponse.BuilderstagingArea(Consumer<StagingArea.Builder> stagingArea)The staging area of the source server.DisconnectSourceServerResponse.BuilderstagingArea(StagingArea stagingArea)The staging area of the source server.DisconnectSourceServerResponse.Buildertags(Map<String,String> tags)The tags associated with the Source Server.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.drs.model.DrsResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
agentVersion
DisconnectSourceServerResponse.Builder agentVersion(String agentVersion)
The version of the DRS agent installed on the source server
- Parameters:
agentVersion- The version of the DRS agent installed on the source server- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
DisconnectSourceServerResponse.Builder arn(String arn)
The ARN of the Source Server.
- Parameters:
arn- The ARN of the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataReplicationInfo
DisconnectSourceServerResponse.Builder dataReplicationInfo(DataReplicationInfo dataReplicationInfo)
The Data Replication Info of the Source Server.
- Parameters:
dataReplicationInfo- The Data Replication Info of the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataReplicationInfo
default DisconnectSourceServerResponse.Builder dataReplicationInfo(Consumer<DataReplicationInfo.Builder> dataReplicationInfo)
The Data Replication Info of the Source Server.
This is a convenience method that creates an instance of theDataReplicationInfo.Builderavoiding the need to create one manually viaDataReplicationInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataReplicationInfo(DataReplicationInfo).- Parameters:
dataReplicationInfo- a consumer that will call methods onDataReplicationInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dataReplicationInfo(DataReplicationInfo)
-
lastLaunchResult
DisconnectSourceServerResponse.Builder lastLaunchResult(String lastLaunchResult)
The status of the last recovery launch of this Source Server.
- Parameters:
lastLaunchResult- The status of the last recovery launch of this Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LastLaunchResult,LastLaunchResult
-
lastLaunchResult
DisconnectSourceServerResponse.Builder lastLaunchResult(LastLaunchResult lastLaunchResult)
The status of the last recovery launch of this Source Server.
- Parameters:
lastLaunchResult- The status of the last recovery launch of this Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LastLaunchResult,LastLaunchResult
-
lifeCycle
DisconnectSourceServerResponse.Builder lifeCycle(LifeCycle lifeCycle)
The lifecycle information of this Source Server.
- Parameters:
lifeCycle- The lifecycle information of this Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycle
default DisconnectSourceServerResponse.Builder lifeCycle(Consumer<LifeCycle.Builder> lifeCycle)
The lifecycle information of this Source Server.
This is a convenience method that creates an instance of theLifeCycle.Builderavoiding the need to create one manually viaLifeCycle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolifeCycle(LifeCycle).- Parameters:
lifeCycle- a consumer that will call methods onLifeCycle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lifeCycle(LifeCycle)
-
recoveryInstanceId
DisconnectSourceServerResponse.Builder recoveryInstanceId(String recoveryInstanceId)
The ID of the Recovery Instance associated with this Source Server.
- Parameters:
recoveryInstanceId- The ID of the Recovery Instance associated with this Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationDirection
DisconnectSourceServerResponse.Builder replicationDirection(String replicationDirection)
Replication direction of the Source Server.
- Parameters:
replicationDirection- Replication direction of the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReplicationDirection,ReplicationDirection
-
replicationDirection
DisconnectSourceServerResponse.Builder replicationDirection(ReplicationDirection replicationDirection)
Replication direction of the Source Server.
- Parameters:
replicationDirection- Replication direction of the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ReplicationDirection,ReplicationDirection
-
reversedDirectionSourceServerArn
DisconnectSourceServerResponse.Builder reversedDirectionSourceServerArn(String reversedDirectionSourceServerArn)
For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.
- Parameters:
reversedDirectionSourceServerArn- For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCloudProperties
DisconnectSourceServerResponse.Builder sourceCloudProperties(SourceCloudProperties sourceCloudProperties)
Source cloud properties of the Source Server.
- Parameters:
sourceCloudProperties- Source cloud properties of the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceCloudProperties
default DisconnectSourceServerResponse.Builder sourceCloudProperties(Consumer<SourceCloudProperties.Builder> sourceCloudProperties)
Source cloud properties of the Source Server.
This is a convenience method that creates an instance of theSourceCloudProperties.Builderavoiding the need to create one manually viaSourceCloudProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceCloudProperties(SourceCloudProperties).- Parameters:
sourceCloudProperties- a consumer that will call methods onSourceCloudProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceCloudProperties(SourceCloudProperties)
-
sourceNetworkID
DisconnectSourceServerResponse.Builder sourceNetworkID(String sourceNetworkID)
ID of the Source Network which is protecting this Source Server's network.
- Parameters:
sourceNetworkID- ID of the Source Network which is protecting this Source Server's network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceProperties
DisconnectSourceServerResponse.Builder sourceProperties(SourceProperties sourceProperties)
The source properties of the Source Server.
- Parameters:
sourceProperties- The source properties of the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceProperties
default DisconnectSourceServerResponse.Builder sourceProperties(Consumer<SourceProperties.Builder> sourceProperties)
The source properties of the Source Server.
This is a convenience method that creates an instance of theSourceProperties.Builderavoiding the need to create one manually viaSourceProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceProperties(SourceProperties).- Parameters:
sourceProperties- a consumer that will call methods onSourceProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceProperties(SourceProperties)
-
sourceServerID
DisconnectSourceServerResponse.Builder sourceServerID(String sourceServerID)
The ID of the Source Server.
- Parameters:
sourceServerID- The ID of the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stagingArea
DisconnectSourceServerResponse.Builder stagingArea(StagingArea stagingArea)
The staging area of the source server.
- Parameters:
stagingArea- The staging area of the source server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stagingArea
default DisconnectSourceServerResponse.Builder stagingArea(Consumer<StagingArea.Builder> stagingArea)
The staging area of the source server.
This is a convenience method that creates an instance of theStagingArea.Builderavoiding the need to create one manually viaStagingArea.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostagingArea(StagingArea).- Parameters:
stagingArea- a consumer that will call methods onStagingArea.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
stagingArea(StagingArea)
-
tags
DisconnectSourceServerResponse.Builder tags(Map<String,String> tags)
The tags associated with the Source Server.
- Parameters:
tags- The tags associated with the Source Server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-