Interface GetSerialConsoleAccessStatusResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSerialConsoleAccessStatusResponse.Builder,GetSerialConsoleAccessStatusResponse>
,Ec2Response.Builder
,SdkBuilder<GetSerialConsoleAccessStatusResponse.Builder,GetSerialConsoleAccessStatusResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetSerialConsoleAccessStatusResponse
public static interface GetSerialConsoleAccessStatusResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetSerialConsoleAccessStatusResponse.Builder,GetSerialConsoleAccessStatusResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetSerialConsoleAccessStatusResponse.Builder
managedBy(String managedBy)
The entity that manages access to the serial console.GetSerialConsoleAccessStatusResponse.Builder
managedBy(ManagedBy managedBy)
The entity that manages access to the serial console.GetSerialConsoleAccessStatusResponse.Builder
serialConsoleAccessEnabled(Boolean serialConsoleAccessEnabled)
Iftrue
, access to the EC2 serial console of all instances is enabled for your account.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
serialConsoleAccessEnabled
GetSerialConsoleAccessStatusResponse.Builder serialConsoleAccessEnabled(Boolean serialConsoleAccessEnabled)
If
true
, access to the EC2 serial console of all instances is enabled for your account. Iffalse
, access to the EC2 serial console of all instances is disabled for your account.- Parameters:
serialConsoleAccessEnabled
- Iftrue
, access to the EC2 serial console of all instances is enabled for your account. Iffalse
, access to the EC2 serial console of all instances is disabled for your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedBy
GetSerialConsoleAccessStatusResponse.Builder managedBy(String managedBy)
The entity that manages access to the serial console. Possible values include:
-
account
- Access is managed by the account. -
declarative-policy
- Access is managed by a declarative policy and can't be modified by the account.
- Parameters:
managedBy
- The entity that manages access to the serial console. Possible values include:-
account
- Access is managed by the account. -
declarative-policy
- Access is managed by a declarative policy and can't be modified by the account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManagedBy
,ManagedBy
-
-
managedBy
GetSerialConsoleAccessStatusResponse.Builder managedBy(ManagedBy managedBy)
The entity that manages access to the serial console. Possible values include:
-
account
- Access is managed by the account. -
declarative-policy
- Access is managed by a declarative policy and can't be modified by the account.
- Parameters:
managedBy
- The entity that manages access to the serial console. Possible values include:-
account
- Access is managed by the account. -
declarative-policy
- Access is managed by a declarative policy and can't be modified by the account.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ManagedBy
,ManagedBy
-
-
-