Class BetaManagedAgentsAwsRoleExecutionIdentityParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsAwsRoleExecutionIdentityParamsAn AWS IAM role principal.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsAwsRoleExecutionIdentityParams.BuilderA builder for BetaManagedAgentsAwsRoleExecutionIdentityParams.
-
Method Summary
Modifier and Type Method Description final StringroleArn()The IAM role's ARN, e.g. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("aws_role")final JsonField<String>_roleArn()Returns the raw JSON value of roleArn. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsAwsRoleExecutionIdentityParams.BuildertoBuilder()final BetaManagedAgentsAwsRoleExecutionIdentityParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsAwsRoleExecutionIdentityParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsAwsRoleExecutionIdentityParams. final static BetaManagedAgentsAwsRoleExecutionIdentityParamsof(String roleArn)Returns an immutable instance of BetaManagedAgentsAwsRoleExecutionIdentityParams with the required roleArn set to the given value. -
-
Method Detail
-
roleArn
final String roleArn()
The IAM role's ARN, e.g. "arn:aws:iam::123456789012:role/my-agent-runner". Maximum 2048 characters.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("aws_role")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_roleArn
final JsonField<String> _roleArn()
Returns the raw JSON value of roleArn.
Unlike roleArn, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsAwsRoleExecutionIdentityParams.Builder toBuilder()
-
validate
final BetaManagedAgentsAwsRoleExecutionIdentityParams validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaManagedAgentsAwsRoleExecutionIdentityParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsAwsRoleExecutionIdentityParams.
The following fields are required:
.roleArn()
-
of
final static BetaManagedAgentsAwsRoleExecutionIdentityParams of(String roleArn)
Returns an immutable instance of BetaManagedAgentsAwsRoleExecutionIdentityParams with the required roleArn set to the given value.
-
-
-
-