Class AppBlockBuilder
- java.lang.Object
-
- software.amazon.awssdk.services.appstream.model.AppBlockBuilder
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AppBlockBuilder.Builder,AppBlockBuilder>
@Generated("software.amazon.awssdk:codegen") public final class AppBlockBuilder extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AppBlockBuilder.Builder,AppBlockBuilder>
Describes an app block builder.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAppBlockBuilder.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AccessEndpoint>accessEndpoints()The list of interface VPC endpoint (interface endpoint) objects.List<ResourceError>appBlockBuilderErrors()The app block builder errors.Stringarn()The ARN of the app block builder.static AppBlockBuilder.Builderbuilder()InstantcreatedTime()The creation time of the app block builder.Stringdescription()The description of the app block builder.StringdisplayName()The display name of the app block builder.BooleanenableDefaultInternetAccess()Indicates whether default internet access is enabled for the app block builder.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAccessEndpoints()For responses, this returns true if the service returned a value for the AccessEndpoints property.booleanhasAppBlockBuilderErrors()For responses, this returns true if the service returned a value for the AppBlockBuilderErrors property.inthashCode()StringiamRoleArn()The ARN of the IAM role that is applied to the app block builder.StringinstanceType()The instance type of the app block builder.Stringname()The name of the app block builder.AppBlockBuilderPlatformTypeplatform()The platform of the app block builder.StringplatformAsString()The platform of the app block builder.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AppBlockBuilder.Builder>serializableBuilderClass()AppBlockBuilderStatestate()The state of the app block builder.StringstateAsString()The state of the app block builder.AppBlockBuilderStateChangeReasonstateChangeReason()The state change reason.AppBlockBuilder.BuildertoBuilder()StringtoString()Returns a string representation of this object.VpcConfigvpcConfig()The VPC configuration for the app block builder.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The ARN of the app block builder.
- Returns:
- The ARN of the app block builder.
-
name
public final String name()
The name of the app block builder.
- Returns:
- The name of the app block builder.
-
displayName
public final String displayName()
The display name of the app block builder.
- Returns:
- The display name of the app block builder.
-
description
public final String description()
The description of the app block builder.
- Returns:
- The description of the app block builder.
-
platform
public final AppBlockBuilderPlatformType platform()
The platform of the app block builder.
WINDOWS_SERVER_2019is the only valid value.If the service returns an enum value that is not available in the current SDK version,
platformwill returnAppBlockBuilderPlatformType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromplatformAsString().- Returns:
- The platform of the app block builder.
WINDOWS_SERVER_2019is the only valid value. - See Also:
AppBlockBuilderPlatformType
-
platformAsString
public final String platformAsString()
The platform of the app block builder.
WINDOWS_SERVER_2019is the only valid value.If the service returns an enum value that is not available in the current SDK version,
platformwill returnAppBlockBuilderPlatformType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromplatformAsString().- Returns:
- The platform of the app block builder.
WINDOWS_SERVER_2019is the only valid value. - See Also:
AppBlockBuilderPlatformType
-
instanceType
public final String instanceType()
The instance type of the app block builder.
- Returns:
- The instance type of the app block builder.
-
enableDefaultInternetAccess
public final Boolean enableDefaultInternetAccess()
Indicates whether default internet access is enabled for the app block builder.
- Returns:
- Indicates whether default internet access is enabled for the app block builder.
-
iamRoleArn
public final String iamRoleArn()
The ARN of the IAM role that is applied to the app block builder.
- Returns:
- The ARN of the IAM role that is applied to the app block builder.
-
vpcConfig
public final VpcConfig vpcConfig()
The VPC configuration for the app block builder.
- Returns:
- The VPC configuration for the app block builder.
-
state
public final AppBlockBuilderState state()
The state of the app block builder.
If the service returns an enum value that is not available in the current SDK version,
statewill returnAppBlockBuilderState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the app block builder.
- See Also:
AppBlockBuilderState
-
stateAsString
public final String stateAsString()
The state of the app block builder.
If the service returns an enum value that is not available in the current SDK version,
statewill returnAppBlockBuilderState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the app block builder.
- See Also:
AppBlockBuilderState
-
createdTime
public final Instant createdTime()
The creation time of the app block builder.
- Returns:
- The creation time of the app block builder.
-
hasAppBlockBuilderErrors
public final boolean hasAppBlockBuilderErrors()
For responses, this returns true if the service returned a value for the AppBlockBuilderErrors property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
appBlockBuilderErrors
public final List<ResourceError> appBlockBuilderErrors()
The app block builder errors.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAppBlockBuilderErrors()method.- Returns:
- The app block builder errors.
-
stateChangeReason
public final AppBlockBuilderStateChangeReason stateChangeReason()
The state change reason.
- Returns:
- The state change reason.
-
hasAccessEndpoints
public final boolean hasAccessEndpoints()
For responses, this returns true if the service returned a value for the AccessEndpoints property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
accessEndpoints
public final List<AccessEndpoint> accessEndpoints()
The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the app block builder only through the specified endpoints.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasAccessEndpoints()method.- Returns:
- The list of interface VPC endpoint (interface endpoint) objects. Administrators can connect to the app block builder only through the specified endpoints.
-
toBuilder
public AppBlockBuilder.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AppBlockBuilder.Builder,AppBlockBuilder>
-
builder
public static AppBlockBuilder.Builder builder()
-
serializableBuilderClass
public static Class<? extends AppBlockBuilder.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-