Interface WorkspaceEnforcedPolicyAssociation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkspaceEnforcedPolicyAssociation.Builder,,WorkspaceEnforcedPolicyAssociation> SdkBuilder<WorkspaceEnforcedPolicyAssociation.Builder,,WorkspaceEnforcedPolicyAssociation> SdkPojo
- Enclosing class:
WorkspaceEnforcedPolicyAssociation
-
Method Summary
Modifier and TypeMethodDescriptionThe reason that the policy wasn't applied.errorCode(EnforcedPolicyErrorCode errorCode) The reason that the policy wasn't applied.errorMessage(String errorMessage) A description of why the policy wasn't applied to the WorkSpace.The identifier of the policy.syncStatus(String syncStatus) Whether the policy is applied:syncStatus(EnforcedPolicySyncStatus syncStatus) Whether the policy is applied:Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
policyId
The identifier of the policy.
- Parameters:
policyId- The identifier of the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
syncStatus
Whether the policy is applied:
-
PENDING_UPDATE– The WorkSpace hasn't confirmed the policy yet. -
IN_SYNC– The policy is applied. -
FAILED– The policy isn't applied.
This field isn't returned if the service can't determine the status. Don't treat a missing value as
IN_SYNC.- Parameters:
syncStatus- Whether the policy is applied:-
PENDING_UPDATE– The WorkSpace hasn't confirmed the policy yet. -
IN_SYNC– The policy is applied. -
FAILED– The policy isn't applied.
This field isn't returned if the service can't determine the status. Don't treat a missing value as
IN_SYNC.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
syncStatus
Whether the policy is applied:
-
PENDING_UPDATE– The WorkSpace hasn't confirmed the policy yet. -
IN_SYNC– The policy is applied. -
FAILED– The policy isn't applied.
This field isn't returned if the service can't determine the status. Don't treat a missing value as
IN_SYNC.- Parameters:
syncStatus- Whether the policy is applied:-
PENDING_UPDATE– The WorkSpace hasn't confirmed the policy yet. -
IN_SYNC– The policy is applied. -
FAILED– The policy isn't applied.
This field isn't returned if the service can't determine the status. Don't treat a missing value as
IN_SYNC.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
errorCode
The reason that the policy wasn't applied. This field is returned only when
SyncStatusisFAILEDbecause of this policy. IfSyncStatusisFAILEDand this field isn't returned, the failure has another cause.- Parameters:
errorCode- The reason that the policy wasn't applied. This field is returned only whenSyncStatusisFAILEDbecause of this policy. IfSyncStatusisFAILEDand this field isn't returned, the failure has another cause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorCode
The reason that the policy wasn't applied. This field is returned only when
SyncStatusisFAILEDbecause of this policy. IfSyncStatusisFAILEDand this field isn't returned, the failure has another cause.- Parameters:
errorCode- The reason that the policy wasn't applied. This field is returned only whenSyncStatusisFAILEDbecause of this policy. IfSyncStatusisFAILEDand this field isn't returned, the failure has another cause.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
A description of why the policy wasn't applied to the WorkSpace. This field is usually returned when
ErrorCodeis returned.- Parameters:
errorMessage- A description of why the policy wasn't applied to the WorkSpace. This field is usually returned whenErrorCodeis returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-