public ThirdPartyJobData withArtifactCredentials(AWSSessionCredentials artifactCredentials) {
        setArtifactCredentials(artifactCredentials);
        return this;
    }
<p>
Represents an Amazon Web Services session credentials object. These credentials are temporary credentials that
are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and output
artifacts in the S3 bucket used to store artifact for the pipeline in CodePipeline.
</p>

@param artifactCredentials
       Represents an Amazon Web Services session credentials object. These credentials are temporary credentials
       that are issued by Amazon Web Services Secure Token Service (STS). They can be used to access input and
       output artifacts in the S3 bucket used to store artifact for the pipeline in CodePipeline.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codepipeline/src/main/java/com/amazonaws/services/codepipeline/model/ThirdPartyJobData.java