public static final class CopySourceApplicationRequest.Builder extends Object
CopySourceApplicationRequest.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
public final CopySourceApplicationRequest.Builder from(CopySourceApplicationRequest instance)
CopySourceApplicationRequest instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final CopySourceApplicationRequest.Builder name(String name)
name attribute.name - The value for namethis builder for use in a chained invocationpublic final CopySourceApplicationRequest.Builder restart(Boolean restart)
restart attribute.restart - The value for restart (can be null)this builder for use in a chained invocationpublic final CopySourceApplicationRequest.Builder stagingTimeout(Duration stagingTimeout)
stagingTimeout attribute.
If not set, this attribute will have a default value as returned by the initializer of stagingTimeout.
stagingTimeout - The value for stagingTimeoutthis builder for use in a chained invocationpublic final CopySourceApplicationRequest.Builder startupTimeout(Duration startupTimeout)
startupTimeout attribute.
If not set, this attribute will have a default value as returned by the initializer of startupTimeout.
startupTimeout - The value for startupTimeoutthis builder for use in a chained invocationpublic final CopySourceApplicationRequest.Builder targetName(String targetName)
targetName attribute.targetName - The value for targetNamethis builder for use in a chained invocationpublic final CopySourceApplicationRequest.Builder targetOrganization(String targetOrganization)
targetOrganization attribute.targetOrganization - The value for targetOrganization (can be null)this builder for use in a chained invocationpublic final CopySourceApplicationRequest.Builder targetSpace(String targetSpace)
targetSpace attribute.targetSpace - The value for targetSpace (can be null)this builder for use in a chained invocationpublic CopySourceApplicationRequest build()
CopySourceApplicationRequest.IllegalStateException - if any required attributes are missingCopyright © 2018. All rights reserved.