@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3Location extends Object implements Serializable, Cloneable, StructuredPojo
Information about the location of training output or the output of a model packaging job.
Constructor and Description |
---|
S3Location() |
Modifier and Type | Method and Description |
---|---|
S3Location |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The S3 bucket that contains the training or model packaging job output.
|
String |
getPrefix()
The path of the folder, within the S3 bucket, that contains the output.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBucket(String bucket)
The S3 bucket that contains the training or model packaging job output.
|
void |
setPrefix(String prefix)
The path of the folder, within the S3 bucket, that contains the output.
|
String |
toString()
Returns a string representation of this object.
|
S3Location |
withBucket(String bucket)
The S3 bucket that contains the training or model packaging job output.
|
S3Location |
withPrefix(String prefix)
The path of the folder, within the S3 bucket, that contains the output.
|
public void setBucket(String bucket)
The S3 bucket that contains the training or model packaging job output. If you are training a model, the bucket must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be in the same AWS Region and AWS account in which you use AWS IoT Greengrass.
bucket
- The S3 bucket that contains the training or model packaging job output. If you are training a model, the
bucket must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be
in the same AWS Region and AWS account in which you use AWS IoT Greengrass.public String getBucket()
The S3 bucket that contains the training or model packaging job output. If you are training a model, the bucket must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be in the same AWS Region and AWS account in which you use AWS IoT Greengrass.
public S3Location withBucket(String bucket)
The S3 bucket that contains the training or model packaging job output. If you are training a model, the bucket must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be in the same AWS Region and AWS account in which you use AWS IoT Greengrass.
bucket
- The S3 bucket that contains the training or model packaging job output. If you are training a model, the
bucket must in your AWS account. If you use an S3 bucket for a model packaging job, the S3 bucket must be
in the same AWS Region and AWS account in which you use AWS IoT Greengrass.public void setPrefix(String prefix)
The path of the folder, within the S3 bucket, that contains the output.
prefix
- The path of the folder, within the S3 bucket, that contains the output.public String getPrefix()
The path of the folder, within the S3 bucket, that contains the output.
public S3Location withPrefix(String prefix)
The path of the folder, within the S3 bucket, that contains the output.
prefix
- The path of the folder, within the S3 bucket, that contains the output.public String toString()
toString
in class Object
Object.toString()
public S3Location clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.