@Override
    public Builder toBuilder() {
        return builder().required(required).optional(optional);
    }
Gets the resources that will be authorized against based on
optional behavior of the IAM action.

@return the optional resources.
smithy-aws-iam-traits/src/main/java/software/amazon/smithy/aws/iam/traits/ActionResources.java